package mythesis.controller;

public class TileBan {
};

public function getTileBanList(eventName:String[]):Boolean[]
{
    var banList:Boolean[] = 
    [
    	false,
    	false,
    	false,
    	false,
    	false,
    	
    	false,
    	false,
    	false,
    	false,
    	false,
    	
    	false,
    	false,
    	false,
    	false,
    	false,
    	
    	false,
    	false,
    	false,
    	false,
    	false,
    ];
    
    if (eventName == "GameStarted")
    {
        // char allowed only:  none
        // var allowed only :  Note, Set
	    banList = 
	    [
	    	true,
	    	true,
	    	true,
	    	true,
	    	true,
	    	
	    	false,
	    	true,
	    	true,
	    	true,
	    	true,
	    	
	    	true,
	    	true,
	    	true,
	    	true,
	    	true,
	    	
	    	true,
	    	true,
	    	true,
	    	true,
	    	true,
	    ];
    }
    else if (eventName == "DecidingOnMovement")
    {
        // char allowed only :  Roll Dice, Take Shortcut, Go To
        // var  allowed only :  all 
	    banList = 
	    [
	    	false,
	    	false,
	    	true,
	    	true,
	    	false,
	    	
	    	false,
	    	false,
	    	false,
	    	false,
	    	false,
	    	
	    	false,
	    	false,
	    	false,
	    	false,
	    	false,
	    	
	    	false,
	    	false,
	    	false,
	    	true,
	    	true,
	    ];
    }
    else if (eventName == "MakingASuggestionOrAccusation")
    {
        // char allowed only :  Suggest, Accuse
        // var  allowed only :  all 
	    banList = 
	    [
	    	true,
	    	true,
	    	false,
	    	false,
	    	true,
	    	
	    	false,
	    	false,
	    	false,
	    	false,
	    	false,
	    	
	    	false,
	    	false,
	    	false,
	    	false,
	    	false,
	    	
	    	false,
	    	false,
	    	false,
	    	true,
	    	true,
	    ];
    }
    else if (eventName == "ListeningToSuggestion")
    {
        // char allowed only :  
        // var  allowed only :  all 
	    banList = 
	    [
	    	true,
	    	true,
	    	true,
	    	true,
	    	true,
	    	
	    	false,
	    	false,
	    	false,
	    	false,
	    	false,
	    	
	    	false,
	    	false,
	    	false,
	    	false,
	    	false,
	    	
	    	false,
	    	false,
	    	false,
	    	false,
	    	true,
	    ];
    }
    else if (eventName == "DisprovingSuggestion")
    {
        // char allowed only :  disprove suggestion  
        // var  allowed only :  all 
	    banList = 
	    [
	    	true,
	    	true,
	    	true,
	    	true,
	    	true,
	    	
	    	false,
	    	false,
	    	false,
	    	false,
	    	false,
	    	
	    	false,
	    	false,
	    	false,
	    	false,
	    	false,
	    	
	    	false,
	    	false,
	    	false,
	    	true,
	    	false,
	    ];
    }
    
    return banList;
}